package com.hantang.devops.appgenerator.item.bean;

import java.util.List;

import com.hantang.devops.appgenerator.relationship.bean.RelationshipBean;

/**
 * Item is a basic data element of every application.
 * @author Allen
 *
 */
public class ItemBean {
	/**
	 * item id
	 */
	private String itemId;
	
	/**
	 * This is item name,It is variable name
	 */
	private String itemName;
	
	/**
	 * business type which define what will be used, such as use email,money 
	 */
	private String itemBusinessType;
	
	/**
	 * This is itme type , such as string,int ,and so on.
	 */
	private String itemDataType;
	
	/**
	 * 
	 */
	private String viewType;
	
	/**
	 * item max length
	 */
	private String itemMaxLength;
	
	/**
	 * item minimum length
	 */
	private String itemMinLenth;
	
	/**
	 * description, this define what is this itme.
	 */
	private String itemDescription;
	
	private List<RelationshipBean> relationships;

	public String getItemId() {
		return itemId;
	}

	public void setItemId(String itemId) {
		this.itemId = itemId;
	}

	public String getItemName() {
		return itemName;
	}

	public void setItemName(String itemName) {
		this.itemName = itemName;
	}

	public String getItemBusinessType() {
		return itemBusinessType;
	}

	public void setItemBusinessType(String itemBusinessType) {
		this.itemBusinessType = itemBusinessType;
	}

	public String getItemDataType() {
		return itemDataType;
	}

	public void setItemDataType(String itemDataType) {
		this.itemDataType = itemDataType;
	}

	public String getItemMaxLength() {
		return itemMaxLength;
	}

	public void setItemMaxLength(String itemMaxLength) {
		this.itemMaxLength = itemMaxLength;
	}

	public String getItemMinLenth() {
		return itemMinLenth;
	}

	public void setItemMinLenth(String itemMinLenth) {
		this.itemMinLenth = itemMinLenth;
	}

	public String getItemDescription() {
		return itemDescription;
	}

	public void setItemDescription(String itemDescription) {
		this.itemDescription = itemDescription;
	}

	public List<RelationshipBean> getRelationships() {
		return relationships;
	}

	public void setRelationships(List<RelationshipBean> relationships) {
		this.relationships = relationships;
	}

	public String getViewType() {
		return viewType;
	}

	public void setViewType(String viewType) {
		this.viewType = viewType;
	}
}
